const order = {
    state: {
        page: 1,
        applyStatus: '',
        name: ''
    },
    mutations: {
        SAVE_COMMISSION_PAGE: (state, page) => {
            state.page = page
          },
        SAVE_COMMISSION_APPLYSTATUS: (state, applyStatus) => {
            state.applyStatus = applyStatus
        },
        SAVE_COMMISSION_NAME: (state, name) => {
            state.name = name
        },
    },
    actions: {
        saveCommissionPage({
            commit
          }, page) {
            commit('SAVE_COMMISSION_PAGE', page)
          },
        saveCommissionApplyStatus({
            commit
        }, applyStatus) {
            commit('SAVE_COMMISSION_APPLYSTATUS', applyStatus)
        },
        saveCommissionName({
            commit
        }, name) {
            commit('SAVE_COMMISSION_NAME', name)
        },
    
    }
  }
  
  export default order